//
//  CarTypeCell.m
//  New_Runway
//
//  Created by mack on 2018/2/3.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "CarTypeCell.h"

@implementation CarTypeCell
-(instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self addAllViews];
    }
    return self;
    
}

-(void)addAllViews{
    kSelfWeak;
    self.titleL = [[UILabel alloc] init];
    self.titleL.textColor = MAIN_FONT_COLOR();
    self.titleL.font = kFontSize(13);
    [self addSubview:self.titleL];
    [weakSelf.titleL mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(weakSelf);
    }];
    
//    self.titleL.text = @"红色";
    
}
@end
